package com.ctshk.rpc.cms.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel(value="AppHomeSearchReq", description="APP首页检索请求")
public class AppHomeSearchReq implements Serializable {
    private static final long serialVersionUID = -4340879699786348470L;

    @NotNull(message = "渠道id不能为空")
    @ApiModelProperty(value = "渠道id")
    private Long channelId;

    @ApiModelProperty(value = "用户输入检索条件")
    private String key;

}